home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / GAME / Life 1.5 folder.sit / Life 1.5 folder / About Life < prev    next >
Text File  |  1995-01-30  |  2KB  |  62 lines

  1. Life 1.5
  2. by R. Fronabarger, ゥ 1995
  3.  
  4.  
  5. This is a simple implementation of Life that I wrote just to see how fast it would run on a PowerMac.  It is supposed to look like bacteria cells in a Petri dish (pretend they are your favorite bacteria).
  6.  
  7. Basically, this is all there is:
  8.  
  9. Go                       sets things into motion.
  10. Stop                    stops them.
  11. Clear                   clears the dish.
  12. Random               puts new random cells in the dish.
  13. Step                    steps you forward one generation.
  14. Autoregenerate   calls Random when a static state is detected.
  15.  
  16. The dish wraps around, top-to-bottom and right-to-left.
  17. It be saved to disk as a document and read back later.
  18.  
  19. Life is fat binary:  native code for both 68020+ and PowerPC.  It requires System 7 or later but is happiest with System 7.5 or System 7 with the Thread Manager (Thread Manager is not required).
  20.  
  21. It runs faster when the window is sized smaller.
  22. It runs about twice as fast in black and white as in 8-bit color.
  23. It runs 4 to 8 times faster on PowerMacs vs 68K Macs.
  24.  
  25. The rules:
  26.  
  27. 1.  If a cell has more than three neighbors it dies.
  28. 2.  If a cell has less than two neighbors it dies.
  29. 3.  If a location has exactly three neighbors and no cell, a new cell is born there.
  30.  
  31. A few common shapes:
  32.  
  33.   ・ ・ ・    blinker
  34.  
  35.     ・
  36.   ・        diagonal glider
  37.   ・ ・ ・
  38.  
  39.          ・
  40.         ・
  41.  ・      ・  horizontal glider
  42.   ・ ・ ・ ・
  43.  
  44.      ・ ・
  45.    ・ ・     the メrモ seed
  46.      ・
  47.  
  48. Editing cells:
  49.  
  50. You can create or erase cells by clicking on the screen and メdrawing themモ.
  51. Hold down the shift key to constrain movement to one axis.
  52. Hold down the option key when dragging to create a selection.
  53. You can move the selection around or option-drag it to copy the cells to another location.
  54. Click once in a selection to cancel it.
  55. If there is a selection on the screen, choosing Clear or pressing the delete key will clear just the cells in the selection.
  56.  
  57.  
  58. PS:  This program was inspired by Bill Atkinson's original Life program which blew me away when I first saw it running on a 128K Mac ten years ago.
  59.  
  60. Life is copyrighted by me but is free in the public domain.  Please include this document if you distribute it.  If you would like to include it in a PD or CD-ROM collection, e-mail me at BobFron@aol.com.
  61.  
  62.